﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GiteePlugin.Features.Activity
{
    public class ActivityService(IActivityApi activityApi)
    {

        /// <summary>
        /// star 一个仓库
        /// </summary>
        /// <param name="owner"></param>
        /// <param name="repo"></param>
        public Task StarRepository(string owner, string repo, string accessToken)
        {
            var response = activityApi.StarRepo(owner, repo, accessToken);
            return response;
        }

    }
}
